<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: mi
  Date: 2022/3/3
  Time: 20:37
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <table border="1" align="center">
    <tr>
        <td colspan="5">
          <h1>
            Jar管理列表
          </h1>
        </td>
    </tr>

    <tr>
      <td>编号</td>
      <td>名称</td>
      <td>大小</td>
      <td>描述</td>
      <td>操作</td>
    </tr>
    <c:forEach var="jar" items="${jars}">
    <tr>
      <td>${jar.id}</td>
      <td>${jar.name}</td>
      <td>${jar.size}</td>
      <td>${jar.description}</td>
      <td><a href="${pageContext.request.contextPath}/download.do">下载</a></td>
    </tr>
    </c:forEach>
  </table>
</body>
</html>
